package com.shop.loan.model.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class ChannelByMybatis {
    /**
     * 
     */
    private Long id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 邀请码
     */
    private String code;

    /**
     * 
     */
    private Date deleteTime;

    /**
     * 
     */
    private Boolean isDelete;

    /**
     * 名称
     */
    private String name;

    /**
     * 备注
     */
    private String remark;

    /**
     * 已结算数量
     */
    private Integer settleNum;

    /**
     * 状态
     */
    private Boolean status;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 创建人
     */
    private Long createUserId;

    /**
     * 
     */
    private Long updateUserId;

    private Long productId;

    private List<Long> Ids;

    public ChannelByMybatis(Long id, Date createTime, Date updateTime, String code, Date deleteTime, Boolean isDelete,
                            String name, String remark, Integer settleNum, Boolean status, BigDecimal unitPrice,
                            Long createUserId, Long updateUserId,Long productId) {
        this.id = id;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.code = code;
        this.deleteTime = deleteTime;
        this.isDelete = isDelete;
        this.name = name;
        this.remark = remark;
        this.settleNum = settleNum;
        this.status = status;
        this.unitPrice = unitPrice;
        this.createUserId = createUserId;
        this.updateUserId = updateUserId;
        this.productId = productId;
    }

    public ChannelByMybatis() {
        super();
    }

    /**
     * 获取
     * @return id 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取创建时间
     * @return create_time 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return update_time 
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime 
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取邀请码
     * @return code 邀请码
     */
    public String getCode() {
        return code;
    }

    /**
     * 设置邀请码
     * @param code 邀请码
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * 获取
     * @return delete_time 
     */
    public Date getDeleteTime() {
        return deleteTime;
    }

    /**
     * 设置
     * @param deleteTime 
     */
    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    /**
     * 获取
     * @return is_delete 
     */
    public Boolean getIsDelete() {
        return isDelete;
    }

    /**
     * 设置
     * @param isDelete 
     */
    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 获取名称
     * @return name 名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置名称
     * @param name 名称
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取备注
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 获取已结算数量
     * @return settle_num 已结算数量
     */
    public Integer getSettleNum() {
        return settleNum;
    }

    /**
     * 设置已结算数量
     * @param settleNum 已结算数量
     */
    public void setSettleNum(Integer settleNum) {
        this.settleNum = settleNum;
    }

    /**
     * 获取状态
     * @return status 状态
     */
    public Boolean getStatus() {
        return status;
    }

    /**
     * 设置状态
     * @param status 状态
     */
    public void setStatus(Boolean status) {
        this.status = status;
    }

    /**
     * 获取单价
     * @return unit_price 单价
     */
    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    /**
     * 设置单价
     * @param unitPrice 单价
     */
    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    /**
     * 获取创建人
     * @return create_user_id 创建人
     */
    public Long getCreateUserId() {
        return createUserId;
    }

    /**
     * 设置创建人
     * @param createUserId 创建人
     */
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * 获取
     * @return update_user_id 
     */
    public Long getUpdateUserId() {
        return updateUserId;
    }

    /**
     * 设置
     * @param updateUserId 
     */
    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }
}